#pragma once

#include <opencv\cv.h>

#include <boost\signals.hpp>

#include "VideoSource.h"
#include "RenderSystem.h"

namespace TUMAR { namespace Render {
	class VideoSourceTimerCallbackAdapter : public TimerCallback
	{
	private:
		TUMAR::MarkerTracking::VideoSource* video;
	public:
		VideoSourceTimerCallbackAdapter(TUMAR::MarkerTracking::VideoSource* video);
		virtual ~VideoSourceTimerCallbackAdapter(void);

		boost::signal<void (const cv::Mat&)> ImageCaptured;

		void Start(void);
		void Tick(void) const;
	};
}}

